package com.example.live.controller;

import com.example.live.pojo.vo.LoginVO;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api
@RestController
@RequestMapping("/identity")
public interface IdentityController {

    @GetMapping("/getCode")
    void getCode(String phone);

    @GetMapping("/login")
    LoginVO login(String phone, String verificationCode);

}
